package com.itheima.tanhua.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Random;

public class RecommendationVo extends BlackListVo{
    private String tags;
    private Integer fateValue;

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public Integer getFateValue() {
        Random random = new Random();
        fateValue=random.nextInt(20)+80;
        return fateValue;
    }

    public void setFateValue(Integer fateValue) {
//        Random random = new Random();
//        fateValue=random.nextInt(20)+80;
        this.fateValue = fateValue;
    }

    @Override
    public String toString() {
        return "RecommendationVo{" +
                "tags='" + tags + '\'' +
                ", fateValue=" + fateValue +
                '}';
    }
}
